﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpBolt.Basics;

namespace SharpBolt.BasicIntefaces
{
    public interface ISoundRender
    {
        SbSoundSource GetSoundSource(string name);
        void FreeSoundSource(string name);

        SbSound GetEmmitter(SbSoundSource source);
        void FreeEmmitter(SbSound sound);

        void Play(SbSound sound, bool loop = false);
        void Stop(SbSound sound);
        void Pause(SbSound sound);
        void Continue(SbSound sound);
        void SetVolume(SbSound sound, double volume);

        bool IsStopped(SbSound sound);

        void SetGlobalVolume(double globalVolume);
    }
}
